package com.parking.order.model.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("用户退单Form")
public class RefundForm {
    /**
     * 订单编号
     * */
    @ApiModelProperty("订单编号")
    @NotNull(message = "orderInfoNum不能为空")
    @Length(message = "orderInfoNum长度为19", min = 19, max = 19)
    private String orderInfoNum;
}
